package com.xhtech.base.data

import androidx.annotation.Keep

/**
 * pageNo : 1
 * pageSize : 5
 * pageNo　　
 * pageSize　　　　　
 */
@Keep
open class BaseListBody(open var pageNo: Int, open var pageSize: Int)

@Keep
open class BaseBodyUser(val userId: String)


inline fun listBody(pageNo: Int, pageSize: Int): MutableMap<String, Any> {
    var params = mutableMapOf<String, Any>()
    params["pageNo"] = pageNo
    params["pageSize"] = pageSize
    return params
}